<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\UserVisitLog
 *
 * @property int $visit_id 用户浏览id
 * @property int|null $user_id 用户id
 * @property int|null $goods_id 商品id
 * @property int|null $hitCounts 点击次数
 * @property string $addTime 添加时间
 * @property string|null $platform 来源
 * @method static \Illuminate\Database\Eloquent\Builder|UserVisitLog newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|UserVisitLog newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|UserVisitLog query()
 * @method static \Illuminate\Database\Eloquent\Builder|UserVisitLog whereAddTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserVisitLog whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserVisitLog whereHitCounts($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserVisitLog wherePlatform($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserVisitLog whereUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|UserVisitLog whereVisitId($value)
 * @mixin \Eloquent
 */
class UserVisitLog extends Model
{
    protected $table = 'user_visit_log';
    protected $primaryKey = 'visit_id';
    protected $fillable = ['visit_id','user_id','goods_id','hitCounts','addTime','platform'];

    public $timestamps = false;
}
